package com.briup.jz.service;

import com.briup.jz.bean.Address;
import com.briup.jz.bean.extend.AddressExtend;
import com.briup.jz.utils.CustomerException;

import java.util.List;

public interface IAddressService {

    List<Address>findAll();

    void deleteById(long id) throws CustomerException;
    void saveOrUpdate(Address address)throws CustomerException;

    List<AddressExtend> findAllWithUser();



}
